//
//  YTModifyPhoneNumViewController.m
//  YiTuDriverClient
//
//  Created by 石少庸 on 2017/5/22.
//  Copyright © 2017年 Yitu. All rights reserved.
//

#import "YTModifyPhoneNumViewController.h"
#import "YTValidateIdentityViewController.h"

@interface YTModifyPhoneNumViewController ()
@property (weak, nonatomic) IBOutlet UILabel *phoneNumText;
@property (weak, nonatomic) IBOutlet UIButton *changeBtn;
@end

@implementation YTModifyPhoneNumViewController

- (void)initialize {
    _phoneNumText.text = [NSString stringWithFormat:@" %@", [YTUtilityManager manager].userModel.phone];
}

- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    if ([segue.identifier isEqualToString:@"YTChangePhoneNum"]) {
        YTValidateIdentityViewController *validate = segue.destinationViewController;
        validate.segueIdentifier = @"YTChangePhone";
    }
}

@end
